package com.tran.tr.coupon.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 优惠卷表
 * </p>
 *
 * @author ssh
 * @since 2021-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tr_coupon")
@ApiModel(value="TrCoupon对象", description="优惠卷表")
public class TrCoupon implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "ID")
      private String id;

    @ApiModelProperty(value = "优惠卷金额")
    private Integer money;

    @ApiModelProperty(value = "优惠卷是否使用，0：使用；1：未使用")
    private String isUsed;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


}
